<template>
	<view class="exam-finish">
		<view class="content">
			<view class="finish">
				<view class="queren">
					<!-- <span class="iconfont icon-queren"></span> -->
					<image class="icon-queren" src="../../static/fonts/sure.png"></image>
				</view>
				<view class="text">试卷已提交</view>
			</view>
		</view>
		<button class="toScore" @click="toScore()">查看成绩</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				scoreInfo: null
			}
		},
		onLoad(option) {
			this.scoreInfo = JSON.parse(option.scoreInfo)
		},
		methods: {
			toScore(){
				uni.navigateTo({
					url: '../exam-score-detail/exam-score-detail?scoreInfo='+JSON.stringify(this.scoreInfo)
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.exam-finish{
		.content{
			width: 750rpx;
			height: 1000rpx;
			.finish{
				position: relative;
				top: 400rpx;
				left: 325rpx;
				.queren{
					margin-bottom: 40rpx;
					position: relative;
					right: 10rpx;
					.icon-queren{
						width: 120rpx;
						height: 120rpx;
					}
				}
				.text{
					font-weight: 700;
					position: relative;
					right: 30rpx;
				}
			}
		}
		.toScore{
			width: 690rpx;
			height: 80rpx;
			line-height: 80rpx;
			color: #fff;
			font-size: 35rpx;
			background-color: #d62827;
		}
	}

</style>
